package ch.phovoz.tlog;

public final class InfoObject {

	private static InfoObject instance;
	private static int currentExersiceid =0;
	private static int currentTID=0;
	private static int currentExersiceDBID=0;
	
	
	private InfoObject(){
		
	}
	public static InfoObject getInfoObject(){
		if (instance==null) {instance = new InfoObject();}
			return instance;
	}
	public static int getCurrentExersice(){
		return currentExersiceid;
	}
	public static void setCurrentExersice(int pos){
		currentExersiceid=pos+1;
		
	}
	public static void setCurrentTID(int tID){
		currentTID=tID;
	}
	public static int getCurrentTID(){
		return currentTID;
	}
	public static int getCurrentExersiceDBID(){
		return currentExersiceDBID;
	}
	public static void setCurrentExersiceDBID(int CurrentExsersiceDBID){
		currentExersiceDBID=CurrentExsersiceDBID;
	}
}
